]> dgit.raspbian.org Git - ostree.git/commitdiff
Re-enable composefs support on architectures where it is available
authorJeremy Bícha <jbicha@ubuntu.com>
Mon, 2 Feb 2026 15:52:59 +0000 (10:52 -0500)
committerJeremy Bícha <jbicha@ubuntu.com>
Mon, 2 Feb 2026 17:13:46 +0000 (12:13 -0500)
Revert "d/rules: Disable libcomposefs support"

This reverts commit 4087ee31f76d030e85b73e20e67329a5a2fd8f6e.

debian/control
debian/rules
debian/tests/control

index f049cfb4965210d4a2338e8443fbcae76036206a..af2fa289ae85aaff836ac3ea44f7417ca7b95a7d 100644 (file)
@@ -16,6 +16,7 @@ Build-Depends:
  bison,
  bsdextrautils <!nocheck>,
  ca-certificates,
+ composefs [!alpha !hppa !m68k !sh4] <!nocheck>,
  cpio,
  docbook-xml <!nodoc>,
  docbook-xsl <!nodoc>,
@@ -33,6 +34,7 @@ Build-Depends:
  libavahi-client-dev,
  libavahi-glib-dev,
  libcap-dev,
+ libcomposefs-dev [!alpha !hppa !m68k !sh4],
  libcurl4-openssl-dev | libcurl-dev,
  libext2fs-dev,
  libfuse3-dev,
@@ -103,6 +105,7 @@ Depends:
  libarchive-dev,
  libavahi-client-dev,
  libavahi-glib-dev,
+ libcomposefs-dev [!alpha !hppa !m68k !sh4],
  libcurl4-openssl-dev | libcurl-dev,
  libglib2.0-dev,
  libgpg-error-dev,
@@ -203,6 +206,7 @@ Depends:
  attr,
  bsdextrautils,
  ca-certificates,
+ composefs [!alpha !hppa !m68k !sh4],
  cpio,
  fuse3,
  gir1.2-ostree-1.0,
index d5ad8be8ce857831e621d6309ec6c7b126c02709..9682e6b2ccb9c41d4bd9109f8fe4d38d33107c1c 100755 (executable)
@@ -29,7 +29,6 @@ configure_options = \
        --with-selinux \
        --with-systemdsystemgeneratordir=/usr/lib/systemd/system-generators \
        --with-systemdsystemunitdir=/usr/lib/systemd/system \
-       --without-composefs \
        --without-smack \
        $(NULL)
 
@@ -37,6 +36,12 @@ ifneq ($(filter alpha hppa m68k powerpc sh4 sparc64 x32,$(DEB_HOST_ARCH)),)
 configure_options += ac_cv_path_GJS=
 endif
 
+ifneq ($(filter alpha hppa m68k sh4,$(DEB_HOST_ARCH)),)
+configure_options += --without-composefs
+else
+configure_options += --with-composefs
+endif
+
 ifneq ($(filter libostree-doc,$(binaries)),)
 configure_options += --enable-gtk-doc
 else
index fc3a3e6e01a53a936c0142044c4747e881652af0..49837005461b60c5f66711cf61a25b5851aaacee 100644 (file)
@@ -27,5 +27,6 @@ Restrictions:
  superficial,
 Depends:
  build-essential,
+ composefs [!alpha !hppa !m68k !sh4],
  libostree-dev,
  pkgconf,